package org.dbutils.test.handler;

import org.dbutils.dao.HandlerDao;
import org.dbutils.dao.impl.HandlerDaoImpl;

import java.util.List;
import java.util.Map;

/**
 * @author ZQX
 * @date 2025-02-27
 */
public class HandlerTest02 {
    public static void main(String[] args) {
        HandlerDao handlerDao = new HandlerDaoImpl();
        List<Map<String, Object>> listMap = handlerDao.selectAll4MapList();
        listMap.forEach(System.out::println);

        // Object name = listMap.get(3).get("name");
        Map<String, Object> map = listMap.get(3);
        Object name = map.get("name");
        System.out.println(name);

    }
}
